package com.jrx.anytxn.feign.investor.request;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 联合贷放款请求实体类
 *
 * @author liuyang
 * @date 2020-06-15
 */
public class LoanReq implements Serializable {

    private String loanId;

    private String customerId;

    private String tenantId;

    private String seqNo;

    private String channel;

    private String productId;

    private BigDecimal loanAmount;

    private String amortMethod;

    private Integer tenor;

    public LoanReq(String loanId, String customerId, String tenantId, String seqNo, String channel, String productId, BigDecimal loanAmount, String amortMethod, Integer tenor) {
        this.loanId = loanId;
        this.customerId = customerId;
        this.tenantId = tenantId;
        this.seqNo = seqNo;
        this.channel = channel;
        this.productId = productId;
        this.loanAmount = loanAmount;
        this.amortMethod = amortMethod;
        this.tenor = tenor;
    }

    public String getLoanId() {
        return loanId;
    }

    public void setLoanId(String loanId) {
        this.loanId = loanId;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getSeqNo() {
        return seqNo;
    }

    public void setSeqNo(String seqNo) {
        this.seqNo = seqNo;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public BigDecimal getLoanAmount() {
        return loanAmount;
    }

    public void setLoanAmount(BigDecimal loanAmount) {
        this.loanAmount = loanAmount;
    }

    public String getAmortMethod() {
        return amortMethod;
    }

    public void setAmortMethod(String amortMethod) {
        this.amortMethod = amortMethod;
    }

    public Integer getTenor() {
        return tenor;
    }

    public void setTenor(Integer tenor) {
        this.tenor = tenor;
    }
}
